package com.yunzhou.enums;

// 用户消息类型枚举类
// 0:系统消息 1:评论 2:文章点赞  3:评论点赞 4:附件下载
public enum UserMessageTypeEnum {
    SYS(0, "系统消息"),
    COMMENT(1, "评论"),
    ARTICLE_LIKE(2, "文章点赞"),
    COMMENT_LIKE(3, "评论点赞"),
    DOWNLOAD_ATTACHMENT(4, "附件下载");

    private Integer messageType; // 用户消息类型
    private String description; // 描述

    UserMessageTypeEnum(Integer messageType, String description) {
        this.messageType = messageType;
        this.description = description;
    }

    public Integer getMessageType() {
        return messageType;
    }

    public String getDescription() {
        return description;
    }
}
